• Deprecated

    The offline region manager that manages offline packs. All of the class’s instance methods are asynchronous reflecting the fact that offline resources are stored in a database. The offline manager maintains a canonical collection of offline packs.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineRegionManager : NSObject

    Swift

    class OfflineRegionManager : NSObject
  • Deprecated

    An offline region represents an identifiable geographic region with optional metadata.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineRegion : NSObject

    Swift

    class OfflineRegion : NSObject
  • Deprecated

    An offline region definition is a geographic region defined by a style URL, a geometry, zoom range, and device pixel ratio. Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom. The maxZoom may be ∞, in which case for each tile source, the region will include tiles from minZoom up to the maximum zoom level provided by that source. The pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineRegionGeometryDefinition : NSObject

    Swift

    class OfflineRegionGeometryDefinition : NSObject
  • Deprecated

    An offline region definition is a geographic region defined by a style URL, geographic bounding box, zoom range, and device pixel ratio. Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom. The maxZoom may be ∞, in which case for each tile source, the region will include tiles from minZoom up to the maximum zoom level provided by that source. The pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineRegionTilePyramidDefinition : NSObject

    Swift

    class OfflineRegionTilePyramidDefinition : NSObject
  • Deprecated

    Describes the reason for an offline request response error.

    See more

    Declaration

    Objective-C

    enum MBMResponseErrorReason : NSInteger {}

    Swift

    enum ResponseErrorReason : Int, @unchecked Sendable
  • Deprecated

    Describes an offline request response error.

    See more

    Declaration

    Objective-C

    
    @interface MBMResponseError : NSObject

    Swift

    class ResponseError : NSObject
  • Deprecated

    Describes the download state of a region.

    See more

    Declaration

    Objective-C

    enum MBMOfflineRegionDownloadState : NSInteger {}

    Swift

    enum OfflineRegionDownloadState : Int, @unchecked Sendable
  • Deprecated

    A region’s status includes its active/inactive state as well as counts of the number of resources that have completed downloading, their total size in bytes, and the total number of resources that are required.

    Note that the total required size in bytes is not currently available. A future API release may provide an estimate of this number.

    See more

    Declaration

    Objective-C

    
    @interface MBMOfflineRegionStatus : NSObject

    Swift

    class OfflineRegionStatus : NSObject
  • Deprecated

    Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(OfflineDatabaseMergeCallback)
    __attribute__((deprecated))
    typedef void (^MBMOfflineDatabaseMergeCallback)(MBXExpected<NSArray<MBMOfflineRegion *> *, NSString *> * _Nonnull regions)

    Swift

    typealias OfflineDatabaseMergeCallback = (MBXExpected) -> Void
  • Deprecated

    Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(OfflineRegionCallback)
    __attribute__((deprecated))
    typedef void (^MBMOfflineRegionCallback)(MBXExpected<NSArray<MBMOfflineRegion *> *, NSString *> * _Nonnull regions)

    Swift

    typealias OfflineRegionCallback = (MBXExpected) -> Void
  • Deprecated

    Undocumented

    Declaration

    Objective-C

    NS_SWIFT_NAME(OfflineRegionCreateCallback)
    __attribute__((deprecated))
    typedef void (^MBMOfflineRegionCreateCallback)(MBXExpected<MBMOfflineRegion *, NSString *> * _Nonnull region)

    Swift

    typealias OfflineRegionCreateCallback = (MBXExpected) -> Void
  • Deprecated

    A region can have a single observer, which gets notified whenever a change to the region’s status occurs.

    See more

    Declaration

    Objective-C

    @protocol MBMOfflineRegionObserver

    Swift

    protocol OfflineRegionObserver